From: Andreea-Cristina Bernat Date: Mon, 10 Mar 2014 18:25:31 +0000 (+0200) Subject: /dgrp: Fixed warning by adding fallthrough comment X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~6896^2~447^2~1 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7ed5f4510110cfc8787db7f1a7d4970e28d29eb2;p=linux-4.9.git /dgrp: Fixed warning by adding fallthrough comment This patch solves the warning "possible switch case/default not preceded by break or fallthrough comment" for the file /drivers/staging/dgrp/dgrp_tty.c Signed-off-by: Andreea-Cristina Bernat Signed-off-by: Peter P Waskiewicz Jr --- diff --git a/drivers/staging/dgrp/dgrp_tty.c b/drivers/staging/dgrp/dgrp_tty.c index 7a9694c1d9c4..9dba943cdbe6 100644 --- a/drivers/staging/dgrp/dgrp_tty.c +++ b/drivers/staging/dgrp/dgrp_tty.c @@ -2798,6 +2798,7 @@ static int dgrp_tty_ioctl(struct tty_struct *tty, unsigned int cmd, } /* pretend we didn't recognize this */ + /* fall-through */ case DIGI_SETA: return dgrp_tty_digiseta(tty, (struct digi_struct *) arg);